import os
from openai import OpenAI
from dotenv import load_dotenv

from agent import Agent

# Load environment variables
load_dotenv()

# Initialize OpenAI client
# openai_client = OpenAI(api_key=os.getenv("sk-9c44b71034824726a35e84efb550859b"), base_url=os.getenv("OPENAI_API_BASE"))
openai_client = OpenAI(api_key="sk-9c44b71034824726a35e84efb550859b", base_url="https://api.deepseek.com")

Agent(client=openai_client,model="deepseek-chat").run("马云的年龄乘以2是多少?")